home *** CD-ROM | disk | FTP | other *** search
- /*
- ** $VER: RemoveChars.bed 1.0 (06.08.96)
- **
- ** Uncomment a marked block with a requestor to ask the depth of
- ** characters to remove.
- **
- ** Written by Brian Jones
- */
-
- OPTIONS RESULTS
-
- GetBlkDims
- PARSE VAR RESULT mode . start . end
-
- IF mode = OFF THEN DO
- SetStatusBar "Error: No block marked!"
- END; ELSE DO
- MarkBlk
-
- RequestNum '"Number of Chars to delete?"'
- num = RESULT
-
- Move start 1
- RecordMacro QUIET
- MoveSOL
- Delete Chars num
- MoveDown
- EndMacro
-
- PlayMacro end - start
- Delete Chars num
-
- END
-